import amaret.freestyle.mcu.msp430x22x4.McuC;

import McuC.BenchmarkCycleCounter;
import McuC.BenchmarkTickMilli;
import McuC.BusyWait;
import McuC.GlobalInterrupts;
import McuC.Mcu;
import McuC.P10;
import McuC.P11;
import McuC.P12;
import McuC.TimerMilli;
import McuC.Uart;

import amaret.freestyle.board.Board;
import amaret.freestyle.board.Led0;
import amaret.freestyle.board.Led1;
import amaret.freestyle.board.Button0;

metaonly module BoardC {

    export Led0;
    export Led1;
    export Button0;

    export BenchmarkCycleCounter;
    export BenchmarkTickMilli;
    export BusyWait;
    export GlobalInterrupts;
    export Mcu;
    export P12;
    export TimerMilli;
    export Uart;
}

implementation {

    final Led0.Gpio := P10;
    final Led1.Gpio := P11;
    final Button0.Timer := TimerMilli;

}
